package com.cn.aam.checaiduo.bean.me;

import com.cn.aam.checaiduo.bean.base.BaseB;

import java.util.List;

/**
 * monker on 2017/6/5.
 * 理财券
 */

public class VoucherB extends BaseB {

    public VoucherB(List<CashCouponBean> cash_coupon, List<RateCouponBean> rate_coupon) {
        this.cash_coupon = cash_coupon;
        this.rate_coupon = rate_coupon;
    }
    public VoucherB() {
    }

    private List<CashCouponBean> cash_coupon;
    private List<RateCouponBean> rate_coupon;

    public List<CashCouponBean> getCash_coupon() {
        return cash_coupon;
    }

    public void setCash_coupon(List<CashCouponBean> cash_coupon) {
        this.cash_coupon = cash_coupon;
    }

    public List<RateCouponBean> getRate_coupon() {
        return rate_coupon;
    }

    public void setRate_coupon(List<RateCouponBean> rate_coupon) {
        this.rate_coupon = rate_coupon;
    }

    //代金券
    public static class CashCouponBean extends BaseB {
        /**
         * id : 7
         * amount : 10.000
         * description : null
         * expired_time : 2017-07-29 14:23:51
         */

        private String id;
        private String amount;
        private String description;
        private String expired_time;
        private String create_time;
        private String expired;
        private String mini_invest;
        private String used = "1";

        private boolean isCheck;

        public boolean isCheck() {
            return isCheck;
        }

        public void setCheck(boolean check) {
            isCheck = check;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getExpired_time() {
            return expired_time;
        }

        public void setExpired_time(String expired_time) {
            this.expired_time = expired_time;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getExpired() {
            return expired;
        }

        public void setExpired(String expired) {
            this.expired = expired;
        }

        public String getMini_invest() {
            return mini_invest;
        }

        public void setMini_invest(String mini_invest) {
            this.mini_invest = mini_invest;
        }

        public String getUsed() {
            return used;
        }

        public void setUsed(String used) {
            this.used = used;
        }
    }

    //加息券
    public static class RateCouponBean extends BaseB {
        /**
         * id : 3
         * rate : 3.00
         * limit_amount : 50
         * description : 2016年度年终大礼包
         * expired_time : 2017-07-28 14:50:21
         */

        private String id;
        private String rate;
        private String limit_amount;
        private String description;
        private String expired_time;
        private String create_time;
        private String expired;
        private String used = "1";
        private boolean isCheck;

        public boolean isCheck() {
            return isCheck;
        }

        public void setCheck(boolean check) {
            isCheck = check;
        }



        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getRate() {
            return rate;
        }

        public void setRate(String rate) {
            this.rate = rate;
        }

        public String getLimit_amount() {
            return limit_amount;
        }

        public void setLimit_amount(String limit_amount) {
            this.limit_amount = limit_amount;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getExpired_time() {
            return expired_time;
        }

        public void setExpired_time(String expired_time) {
            this.expired_time = expired_time;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getExpired() {
            return expired;
        }

        public void setExpired(String expired) {
            this.expired = expired;
        }

        public String getUsed() {
            return used;
        }

        public void setUsed(String used) {
            this.used = used;
        }
    }
}
